home *** CD-ROM | disk | FTP | other *** search
- # CompuServe PPP login script
- # Copyright 1995 Quarterdeck Office Systems
- # 6-7-95 CEL
- # Last updated 7/6/95 CEL
-
- #define the variables we will need
-
- String username
- String password
- String IPAddress
-
- # uncomment for debugging
- # Trace on
-
- # reset maximum login timeout.
-
- SetTimeout 60
-
- print "======================================"
- print "NOTE: The data coming from CompuServe "
- print "during logon will appear corrupted. "
- print "This is normal. "
- print "======================================"
-
-
- CfgGetValue "Username" username
-
- if result = 0 then
-
- GetInput "Enter your CompuServe ID:" username
-
- if result = 0 then
- Print "Warning, no CompuServe ID entered"
- else
- Print "CompuServe ID set to ["; username; "]"
- endif
-
- endif
-
- # get password from access method
-
- CfgGetValue "Password" password
-
- # if the Password field is empty, prompt the user for it.
-
- if result = 0 then
- GetPassword "Enter your password" password
-
- if result = 0 then
- Print "Warning, no password entered"
- else
- # NOTE: Don't print password.
- Print "Password set."
- endif
-
- endif
-
- Delay 1
- CommSend "%r"
- CommWaitFor "Ho≤táNßφe:"
- CommSend "CIS"
- CommSend "%r"
-
- CommWaitFor "U≤erá╔D:"
- CommSend username # send user name
- CommSend " /GO:ppp89 \"
- CommSend password # send password
- CommSend "%r" # send carriage return
- CommWaitFor "PPP"
- CommWaitFor "e..."
-
- END
-
-